home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
FredFish PD 308.adf
/
FReq
/
Examples
/
Extract_ZOO
< prev
next >
Wrap
Text File
|
1990-01-18
|
789b
|
39 lines
/* Extract_Zoo (Arexx) - uses the ZOO command to extract Zoo'ed files */
/* ** Note ** This program assumes that you have the 'ZOO' program located
in your SYS:C directory */
if ~(Show('P', 'FileRequester')) then
do
ADDRESS COMMAND "Run >NIL: DEVS:Freq"
ADDRESS COMMAND "WaitForPort FileRequester"
if ~(Show('P', 'FileRequester')) then
do
say "UnAble to Load FileRequester"
exit
end
end
OPTIONS RESULTS
ADDRESS "FileRequester"
'SetPattern'
'SetFileName'
more = "TRUE"
do while more = "TRUE"
'SetTitle Select a ZOO File to Extract'
'DisplayDef'
'GETFILENAME'
if (RC = 0) then
do
say "ZOO Extracting File: " Result
ADDRESS COMMAND "SYS:C/ZOO x//" '"' || Result || '"'
end
else
do
more = "FALSE"
say 'Operation Canceled'
end
end
exit 0